(function(window){
  'use strict';
  var App = window.App || {};

  var Validation = {
    isCompanyEmail: function(email) {
      return /.+@cc3688\.com$/.test(email);
    },
    isMoreThanMax: function(name, max) {

      return name.trim().length > max ?false : true;
    }
  }

  App.Validation = Validation;
  window.App = App;
}(window));
